﻿using HalconDotNet;
using Halcon二次开发.Model.自定义控件;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.RightsManagement;
using System.Text;
using System.Threading.Tasks;

namespace Halcon二次开发.Model.图像绑定流程图显示
{
    /// <summary>
    /// 路径的扩展类
    /// </summary>
    public class PathExtend
    {
        /// <summary>
        /// 键(用来区分那个工位)
        /// </summary>
        public string Key;
        /// <summary>
        /// 图像路径
        /// </summary>
        public List<string> strings = new List<string>();
        /// <summary>
        /// Halcon显示控件与流程图
        /// </summary>
        public HwindowFlowNodeUrseControl hwindowFlow;



        public PathExtend() { 
            
        }

        public PathExtend(string key) { 
            this.Key = key;
        }
        public override bool Equals(object obj)
        {
            return obj is PathExtend extend &&
                   Key == extend.Key;
        }
    }
}
